//package com.redsoft.spirit.mq;
//import org.springframework.amqp.rabbit.annotation.RabbitHandler;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//
//import com.redsoft.spirit.entity.Account;
//
//@Component
//@RabbitListener(queues = "hello1", containerFactory="factory")
//public class Receiver {
//
//    @RabbitHandler
//    public void process(Account user) {
//        System.out.println("Receiver : " + user.getAccountName());
//    }
//
//}